export default app => {
  const { INTEGER, DATE, DataTypes } = app.Sequelize;

  const mergePatentTalent = app.model.define('merge_patent_talent', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    patent_id: {
      type: DataTypes.INTEGER,
    },
    talent_id: {
      type: DataTypes.INTEGER,
    },
    createdAt: DATE,
    updatedAt: DATE,
  });
  return mergePatentTalent;
};
